<!DOCTYPE html>
<html>
<head>
    <title>用户列表</title>
</head>
<body>
    <h1>当前时间: ${(currentTime.format('yyyy-MM-dd HH:mm:ss'))!'null'}</h1>
    <h1>当前时间2: ${(currentTime2.format('yyyy-MM-dd HH:mm:ss'))!'null'}</h1>
    <h1>当前时间3: ${formatDateTime(currentTime, "yyyy/MM/dd HH:mm")}</h1>
    <table border="1">
        <tr>
            <th>ID</th>
            <th>用户名</th>
        </tr>
        <#list userList as user>  <#-- FreeMarker 循环 -->
        <tr>
            <td>${user.id}</td>
            <td>${user.name}</td>
        </tr>
        </#list>
    </table>
</body>
</html>
